{{--{!!  Form::model($videos, array('route' => array('videos.update', $videos->id),'method'=>'PUT'))  !!}--}}
<div class="form-group">
    {!!  Form::label('name_en', '英文名(英文有错误请联系 laravel程序员)', [])!!}
    &nbsp &nbsp
    <a target='_blank' href="{{ 'https://www.baidu.com/s?wd='.str_slug($show->name_en.$show->name_zh) }}">百度搜索</a>
    &nbsp &nbsp
    <a target='_blank' href={{ 'https://movie.douban.com/subject_search?search_text='.str_slug($show->name_en) }}>豆瓣搜索</a>
    &nbsp &nbsp
    <a target='_blank' href={{ 'https://www.google.com.hk/webhp#newwindow=1&safe=strict&q='.str_slug($show->name_en) }}>google搜索</a>
    &nbsp &nbsp
    <a target='_blank' href={{ 'https://www.bing.com/search?q='.str_slug($show->name_en) }}>bing搜索</a>
    &nbsp &nbsp

    @if(strlen($show->ttmj_url)>2)
        <a target='_blank' href="{{$show->ttmj_url }}">ttmj</a>
    @endif
    @if(strlen($show->eztv_url)>2)
        <a target='_blank' href={{$show->eztv_url }}>eztv</a>
        &nbsp &nbsp
    @endif
    @if(strlen($show->yyets_url)>2)
        <a target='_blank' href={{$show->yyets_url }}>yyets</a>
        &nbsp &nbsp
    @endif

    <a target='_blank' href="{{'https://eztv.ag/search/'.$show->name_en}}">eztv搜索</a>


    {!!  Form::text('name_en', null,['class'=>'form-control',]) !!}
</div>
<div class="form-group">
    {!!  Form::label('name_zh', '中文名', [])     !!}
    {!!  Form::text('name_zh', null,['class'=>'form-control']) !!}
</div>

<div class="form-group">
    {!!  Form::label('detail', '正文', ['class'=>'text-danger '])     !!}
    <script id="container" name="detail" type="text/plain">
        {!! $show->detail !!}
    </script>
    <!-- 配置文件 -->
    <script type="text/javascript" src="/ueditor/ueditor.config.js"></script>
    <!-- 编辑器源码文件 -->
    <script type="text/javascript" src="/ueditor/ueditor.all.js"></script>
    <!-- 实例化编辑器 -->
    <script type="text/javascript">
        var editor = UE.getEditor('container');
        //自定义
        //http://fex.baidu.com/ueditor/#qa-customurl
        UE.Editor.prototype._bkGetActionUrl = UE.Editor.prototype.getActionUrl;
        UE.Editor.prototype.getActionUrl = function (action) {
            if (action == 'listimage') {
                //图片列表
                return '/ueditor/listimage';
            } else if (action == 'uploadimage') {
                //上传图片
                return '/ueditor/uploadimage';
            } else if (action == 'uploadscrawl') {
                return '/ueditor/uploadscrawl';
            } else if (action == 'catchimage') {
                return '/ueditor/catchimage';
            } else if (action == 'imageSearch') {
                return '/ueditor/imageSearch';
            } else {
                return this._bkGetActionUrl.call(this, action);
            }
        }
    </script>

</div>


<div class="form-group">
    {!! Form::label('score', '权重', [])     !!}
    {!! Form::selectRange('score', 0, 50 , null , ['class' => 'form-control']) !!}
</div>

<div class="form-group">
    {!!  Form::label('url_list', '剧集图片库地址jepg/jpg/bmp/gif/png...(单次不要超过4张可选最好不要空着)', []) !!}
@for ($i = 0; $i < $show->url_list->count()+3; $i++)
        {!!  Form::text('url_list['.$i.']', null,['class'=>'form-control input-sm','placeholder'=>'http://','type'=>'url']) !!}

@endfor


</div>


{!!  Form::submit('保存',['class'=>'btn btn-success btn-block']) !!}
